<{extends file = "User/index.html"}>
<{block name="main"}>
    <form action="./index.php?c=User&a=update" method="post" class="h3 mt20">
        <input type="hidden" name="id" value="<{$data.id}>">
        name:
        <input type="text" name="nickname" value="<{$data.name}>" placeholder="请输入用户名"><br><br>
        tel:
        <input type="text" name="tel"  value="<{$data.tel}>" placeholder="请输入手机号" maxlength="11"><br><br>
        sex:
        <input type="radio" name="sex" value="0" <{if $data.sex == 0}>checked<{/if}>>女
        <input type="radio" name="sex" value="1" <{if $data.sex == 1}>checked<{/if}>>男
        <input type="radio" name="sex" value="2" <{if $data.sex == 2}>checked<{/if}>>保密<br><br>
        age:
        <input type="text" name="age" value="<{$data.age}>" ><br><br>
        
        <input type="hidden" name="vcode" value="7998">
        <input type="hidden" name="hehe" value="你来打我啊!">
        <input type="hidden" name="haha" value="就不打你">
        <input type="submit" value="确认修改">
    </form>
<{/block}>